package com.ytjj.qmyx.users.model;

import com.ytjj.common.enums.ScoreSourceEnum;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 *
 *  *
 **/
@Data
public class AddUserScoreRequest {

    /**
     *  用户Id
     */
//    @NotNull
    private Integer userId;

    /**
     * 积分来源
     */
    @NotNull
    private ScoreSourceEnum source;

    private Integer uniqueId;

    public AddUserScoreRequest() {
    }

    public AddUserScoreRequest(@NotNull Integer userId, @NotNull ScoreSourceEnum source) {
        this.userId = userId;
        this.source = source;
    }

    public AddUserScoreRequest(Integer userId, @NotNull ScoreSourceEnum source, Integer uniqueId) {
        this.userId = userId;
        this.source = source;
        this.uniqueId = uniqueId;
    }
}
